<template>
  <div class="app-portal-body">
    <div class="app-portal-menucontent">
      <pages
        :app-id="app?.group_id"
        @changeQueryPageType="handleChangeQueryPageType"
      />
    </div>
<!--    <div class="app-portal-content">
      <div class="app-portal-cnt-bd">-->
        <PageList
          :query-page-type="queryPageType"
          :app-id="app?.group_id"
        />
<!--      </div>
    </div>-->
  </div>
</template>

<script setup>
import pages from './modules/app-pages.vue';
import PageList from '@/views/basic/pages/page-list.vue';
import {ref} from "vue";
import {api} from "@jzl/api";

const props = defineProps({
  app: Object
})

const queryPageType = ref(0)

const handleChangeQueryPageType = (val) => {
  queryPageType.value = val;
}
</script>
